package org.example.computerdesign.service;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import org.example.computerdesign.domain.po.Patient;
import org.example.computerdesign.domain.vo.PatientV;
/**
 * @author 朱文权
 * */
public interface PatientService extends IService<Patient> {
    void addPatient(String identity,String name,Short sex);
    void deletePatient(Long id);
    PatientV getPatientInfo(String identity);
    IPage<Patient> getAll(Integer p,Integer size);
}
